#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time      :2021/4/19 11:17
# @Author    :cjw
import time
import os
from datetime import datetime


def get_current_date():
	"""获取当前日期"""
	time_tup = time.localtime()
	current_date = str(time_tup.tm_year) + '-' + str(time_tup.tm_mon) + '-' + str(time_tup.tm_mday)
	return current_date


def get_current_time():
	"""获取当前时间"""
	date_time = datetime.now()
	now_time = date_time.strftime('%H-%M-%S')
	return now_time


def get_time():
	date_time = datetime.now()
	now_time = date_time.strftime('%Y-%m-%d_%H-%M-%S')
	return now_time


def create_file(file_path: str):
	""""""
	pass


if __name__ == '__main__':
	print(get_time())
